<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>管理系统</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../lib/AdminLTE/lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../lib/AdminLTE/lib/fontawesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../lib/AdminLTE/lib/adminlte/css/AdminLTE.min.css">
    <link rel="stylesheet" href="../lib/AdminLTE/lib/adminlte/css/skins/skin-black.min.css">
    <link rel="stylesheet" type="text/css" href="../lib/weui-master/dist/style/weui.min.css">
    <link rel="stylesheet" type="text/css" href="../lib/messenger/css/messenger.css">
    <!-- <link rel="stylesheet" type="text/css" href="../lib/messenger/css/messenger-theme-air.css"> -->
    <link rel="stylesheet" type="text/css" href="../lib/messenger/css/messenger-theme-block.css">
   
    <link rel="stylesheet" type="text/css" href="css/editnews.css">
</head>

<body class="hold-transition skin-black sidebar-mini">
    <div class="wrapper">
        <main-head></main-head>
        <main-sidebar></main-sidebar>
        <div class="content-wrapper">
            <section class="content-header">
                <b>新增商贸服务</b>
            </section>
            <section class="content">
                <div class="buttons">
                    <button class="btn btn-success" @click="resetArticle2()">重置</button>
                    <button class="btn btn-primary" @click="save()">提交</button>
                </div>
                <div class="thubnail">
                    <span class="words">封面图片：</span>
                    <button class="btn btn-default" style="width:8rem;height:30px;background-color: #fff;" @click="addImg()">点击上传</button>
                    <input id="btnAddImg" type="file" accept="image/gif,image/jpeg,image/jpg,image/png" style="display:none;" @change="uploadImg()">
                    <div class="imgbox">
                        <img :src="article.headImg" alt="">
                    </div>
                </div>
                <div class="title">
                    <span class="words">标题：</span>
                    <input type="text" class="weui_input"  v-model.trim="article.title"/>
                </div>
               <!--  <div class="type">
                    <span class="words">分类：</span>
                    <input type="text" class="weui_input" />
                </div> -->
                <div class="newscontent">
                    <span class="words">内容：</span>
                    <div class="edit">
                        <script type="text/plain" id="myEditor" style="width:99.8%;max-height: 320px;">
                           
                        </script>
                    </div>
                </div>
               
            </section>
        </div>
    </div>
    <script src="../ueditor/ueditor.config.js"></script>
    <script src="../ueditor/ueditor.all.min.js"></script>
    <script src="../lib/AdminLTE/lib/jQuery/jquery-2.2.3.min.js"></script>
    <script src="../lib/AdminLTE/lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="../lib/AdminLTE/lib/slimScroll/jquery.slimscroll.min.js"></script>
    <script src="../lib/AdminLTE/lib/adminlte/js/app.min.js"></script>
    <script src="../lib/vue/vue.js"></script>
    <script src="../lib/messenger/js/messenger.min.js"></script>
    <script src="js/mainHeader.js"></script>
    <script src="js/mainSidebar.js"></script>
    <script src="js/editnews.js"></script>
</body>

</html>
